Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(python-sdk): temporarily remove async types #196

Merged
merged 2 commits into from
Apr 16, 2024

Conversation

philipbalbas
Copy link
Contributor

@philipbalbas philipbalbas commented Apr 16, 2024

Ellipsis 🚀 This PR description was created by Ellipsis for commit 84540cb.

Summary:

This PR involves code cleanup and formatting changes, including the removal of async types, reformatting of certain fields, removal of a debug print statement, and a change in pytype version in pyproject.toml.

Key points:

  • Removed async types in agent.py, doc.py, session.py, user.py.
  • Reformatted httpx_client in client.py.
  • Removed debug print statement in utils.py.
  • Reformatted logit_bias field in chat_settings.py.
  • Changed pytype version in pyproject.toml.

Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested.

  • Reviewed the entire pull request up to 34ec344
  • Looked at 155 lines of code in 7 files
  • Took 2 minutes and 23 seconds to review
More info
  • Skipped 0 files when reviewing.
  • Skipped posting 1 additional comments because they didn't meet confidence threshold of 50%.
1. /sdks/python/julep/managers/utils.py:42:
  • Assessed confidence : 100%
  • Grade: 0%
  • Comment:
    The print statement in the 'sync_wrapper' function is a debug statement and should be removed from the production code.
  • Reasoning:
    The print statement in the 'sync_wrapper' function in 'utils.py' is a debug statement and should not be part of the production code. It can potentially leak sensitive information in the logs.

Workflow ID: wflow_jryM1KCaJGoIvQcY


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. We'll respond in a few minutes. Learn more here.

sdks/python/julep/managers/agent.py Outdated Show resolved Hide resolved
@philipbalbas philipbalbas force-pushed the f/sdk-python-async-types branch from 3e20081 to 84540cb Compare April 16, 2024 11:59
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks good to me!

  • Performed an incremental review on 84540cb
  • Looked at 72 lines of code in 3 files
  • Took 1 minute and 6 seconds to review
More info
  • Skipped 1 files when reviewing.
  • Skipped posting 1 additional comments because they didn't meet confidence threshold of 50%.
1. /sdks/python/pyproject.toml:20:
  • Assessed confidence : 50%
  • Comment:
    The version of pytype has been downgraded in the dev dependencies. Please ensure that this does not remove any necessary features or fixes that were present in the newer version.
  • Reasoning:
    The PR author has downgraded the version of pytype in the dev dependencies. This could potentially introduce issues if the newer version of pytype was being used to leverage features or fixes that are not present in the older version. It's important to understand the reason behind this downgrade.

Workflow ID: wflow_EWQyRIqclG9a5fLk


Not what you expected? You can customize the content of the reviews using rules. Learn more here.

@philipbalbas philipbalbas merged commit e3f933a into dev Apr 16, 2024
1 check passed
@philipbalbas philipbalbas deleted the f/sdk-python-async-types branch April 16, 2024 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants